package com.maixun.uitrasound.splash


import com.maixun.lib_network.entity.NetBaseEntity
import com.maixun.lib_base.mvp.BaseModelImpl
import com.maixun.uitrasound.entity.BannerBeen
import com.maixun.uitrasound.net.AppNetWork
import io.reactivex.Observer

/**
 * 作者：Lmoumou
 * 时间：2020/9/2 14:13
 */
class SplashModelIml : BaseModelImpl(), SplashContract.Model {
    private val apiService by lazy { AppNetWork.getService() }
    override fun mSplashAD(observer: Observer<NetBaseEntity<MutableList<BannerBeen>>>) {
        apiService.screenAd().apply {
            mNetWork(observer, this)
        }
    }
}